package com.libre.auth.service;

import com.alibaba.fastjson.JSONObject;
import com.libre.auth.entity.User;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {

    JSONObject login(User user, HttpServletRequest request);

    void logout(User user, HttpServletRequest request);

}
